export default [
    {
        path: '/agent',
        name: 'agent',
        meta: {
            title: '代理商管理',
            
        },
        redirect: '/agent/manage/list',
        component: () => import('@/components/Layout/CommonLayout.vue'),
        children: [
            {
                path: '/agent/manage/list',
                name: 'agent-manage-list',
                meta: {
                    title: '代理商管理',
                    keepAlive: true,
                },
                component: () => import('@/views/agent/manage/list.vue'),
            },
            {
                path: '/agent/material/list',
                name: 'agent-material-list',
                meta: {
                    title: '缺料列表',
                    keepAlive: true,
                },
                component: () => import('@/views/agent/material/list.vue'),
            },
            {
                path: '/agent/bill/list',
                name: 'agent-bill-list',
                meta: {
                    title: '发单记录',
                    keepAlive: true,
                },
                component: () => import('@/views/agent/bill/list.vue'),
            },

        ],
    },
];
